{extend name="default/base/base_member" /}
{block name="member_btn"}<a class="dsm-btn dsm-btn-orange" href="{:url('Membermallconsult/add_mallconsult')}"><i class="iconfont">&#xe71b;</i>{$Think.lang.platform_customer_service}</a>{/block}
{block name="member_main"}




<table class="dsm-default-table">
            <thead>
                <tr>
                    <th class="w10"></th>
                    <th class="tl">{$Think.lang.content_consultation}</th>
                    <th class="w150">{$Think.lang.consultation_time}</th>
                    <th class="w150">{$Think.lang.ds_state}</th>
                    <th class="w110">{$Think.lang.ds_handle}</th>
                </tr>
            </thead>
            <tbody>
                {notempty name="consult_list"}
                {foreach name="consult_list" item="val"}
                <tr class="bd-line">
                    <td></td>
                    <td class="tl">{$val.mallconsult_content}</td>
                    <td>{:date('Y-m-d H:i:s',$val.mallconsult_addtime)}</td>
                    <td class="">{$state[$val.mallconsult_isreply]}</td>
                    <td class="dsm-table-handle">
                        <span><a href="{:url('Membermallconsult/mallconsult_info',['id'=>$val.mallconsult_id])}" class="btn-blue"><i class="iconfont">&#xe70b;</i><p>{$Think.lang.ds_view}</p></a></span>
                        <span><a href="javascript:void(0);" onclick="ds_ajaxget_confirm('{:url('Membermallconsult/del_mallconsult',['id'=>$val.mallconsult_id])}','{$Think.lang.ds_common_op_confirm}');" class="btn-blue"><i class="iconfont">&#xe725;</i><p>{$Think.lang.ds_delete}</p></a></span>
                    </td>
                </tr>
                {/foreach}
                {else /}
                <tr>
                    <td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
                </tr>
                {/notempty}
            </tbody>
            <tfoot>
                {notempty name="consult_list"}
                <tr>
                    <td colspan="20"><div class="pagination"> {$show_page|raw}</div></td>
                </tr>
                {/notempty}
            </tfoot>
        </table>







{/block}


